Skip to content

ci(deploy): 🚀 upload wheels and sdist as GitHub release assets - #176

Merged
robertodr merged 9 commits into
mainfrom
copilot/update-github-releases-assets
Aug 3, 2026
Merged

ci(deploy): 🚀 upload wheels and sdist as GitHub release assets#176
robertodr merged 9 commits into
mainfrom
copilot/update-github-releases-assets

Conversation

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

🤖 AI text below 🤖

GitHub releases currently only expose auto-generated source archives (zip/tar.gz of the tree), which are not useful for a compiled extension library. The built wheels and sdist should be directly available as release assets.

Changes

  • deploy.yml — adds a new upload_release_assets job that:
    • Triggers on release: published (same condition as upload_pypi)
    • Downloads all cibw-* artifacts (wheels + sdist) produced by the existing build jobs
    • Attaches them to the GitHub release via gh release upload --clobber
    • Uses minimal contents: write permission with the built-in GITHUB_TOKEN

The job is independent of upload_pypi so a PyPI failure won't block asset upload and vice versa.

Co-authored-by: robertodr <3708689+robertodr@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub releases to include wheels and sdist as assets ci(deploy): 🚀 upload wheels and sdist as GitHub release assets Jul 31, 2026
Copilot AI requested a review from robertodr July 31, 2026 11:23
@robertodr
robertodr marked this pull request as ready for review July 31, 2026 11:24
@github-actions

Copy link
Copy Markdown

Docs preview: https://pr-176.monoprop-docs.pages.dev

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.31%. Comparing base (c2c8e46) to head (91ecad6).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage   95.31%   95.31%           
=======================================
  Files          14       14           
  Lines         704      704           
  Branches       88       88           
=======================================
  Hits          671      671           
  Misses         20       20           
  Partials       13       13           
Flag Coverage Δ
cpp 95.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

This comment was marked as outdated.

robertodr and others added 2 commits July 31, 2026 15:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Roberto Di Remigio Eikås <robertodr@users.noreply.github.com>
@robertodr
robertodr enabled auto-merge (squash) July 31, 2026 13:42
@robertodr
robertodr disabled auto-merge August 3, 2026 11:50
@robertodr
robertodr merged commit 78a3d41 into main Aug 3, 2026
8 checks passed
@robertodr
robertodr deleted the copilot/update-github-releases-assets branch August 3, 2026 11:50
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Github releases should have wheels and sdist as assets, instead of zip/tar.gz of the source tree

4 participants